//
//  H5ViewController.swift
//  Runner
//
//  Created by YMac on 2020/12/14.
//  Copyright © 2020 The Chromium Authors. All rights reserved.
//

class H5ViewController: YWebUIViewController {
    override func getWebName() -> String? { return "h5/app/html/index" }
    override func getJSDelegate() -> YJSDelegate? { return H5JSDelegate() }
}

class H5JSDelegate: YJSDelegate {
    func runNative(_ param:Any) {
        vc.yToast("YFree_H5调用原生代码")
    }
}
